﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManager.Data_Transfer_Layer
{
    class hoadonDTO
    {
        #region Variables
        private int hd_id, hd_tongsotien, hd_tratruoc, kh_id, hd_khuyenmai, hd_songaydukien;
        private string hd_ngaydatphong, hd_ngaytraphong, hd_ghichu;
        #endregion

        #region Properties
        public int Hd_songaydukien
        {
            get { return hd_songaydukien; }
            set { hd_songaydukien = value; }
        }
        public int Hd_khuyenmai
        {
            get { return hd_khuyenmai; }
            set { hd_khuyenmai = value; }
        }
        public string Hd_ghichu
        {
            get { return hd_ghichu; }
            set { hd_ghichu = value; }
        }
        public string Hd_ngaytraphong
        {
            get { return hd_ngaytraphong; }
            set { hd_ngaytraphong = value; }
        }

        public string Hd_ngaydatphong
        {
            get { return hd_ngaydatphong; }
            set { hd_ngaydatphong = value; }
        }
        public int Kh_id
        {
            get { return kh_id; }
            set { kh_id = value; }
        }

        public int Hd_tratruoc
        {
            get { return hd_tratruoc; }
            set { hd_tratruoc = value; }
        }

        public int Hd_tongsotien
        {
            get { return hd_tongsotien; }
            set { hd_tongsotien = value; }
        }

        public int Hd_id
        {
            get { return hd_id; }
            set { hd_id = value; }
        }
        #endregion

        public hoadonDTO()
        {
            hd_id = -1;
            hd_tongsotien = -1;
            hd_tratruoc = -1;
            kh_id = -1;
            hd_ngaydatphong = "";
            hd_ngaytraphong = "";
            hd_songaydukien = 0;
            hd_khuyenmai = 0;
            hd_ghichu = "";
        }
        public hoadonDTO(int hd_id, int kh_id, int hd_tongsotien, int hd_tratruoc, string hd_ngaydatphong, string hd_ngaytraphong,int hd_khuyenmai,string hd_ghichu,int hd_songaydukien)
        {
            this.hd_id = hd_id;
            this.kh_id = kh_id;
            this.hd_tongsotien = hd_tongsotien;
            this.hd_tratruoc = hd_tratruoc;
            this.hd_ngaydatphong = hd_ngaydatphong;
            this.hd_ngaytraphong = hd_ngaytraphong;
            this.hd_khuyenmai = hd_khuyenmai;
            this.hd_ghichu = hd_ghichu;
            this.hd_songaydukien = hd_songaydukien;
        }
    }
}
